from jobs.base_job import BaseJob
from crawler.spiders.ibdi_spider import IbdiSpider
from model import Account


class IbdiJob(BaseJob):
    name = "Ibdi"

    def __init__(self):
        super().__init__()
        self.spider = IbdiSpider

    def fetch_accounts(self):
       account = Account(name='user', password="Pass123")
       return [account, ]

    def process_user_data(self):
        ...

if __name__ == "__main__":
    job = IbdiJob()
    job.run()